package com.wallet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 基础类
 * @author zhangguangyuang
 */
@Data
public class BaseEntity implements Serializable {
    //序列化
    private static final long serialVersionUID = 1L;
    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 是否删除(1是0否)
     */
    private Integer deleted;
    /**
     * 修改时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
}
